package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 采集数据对象 collected_data
 * 
 * @author asher
 * @date 2021-12-12
 */
public class CollectedData implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 采集卡ID */
    @Excel(name = "采集卡ID")
    private String cardId;

    /** 通道号 */
    @Excel(name = "通道号")
    private Long channelNo;

    /** 采集值 */
    @Excel(name = "采集值")
    private Double actualValue;

    /** 修正值 */
    @Excel(name = "修正值")
    private Double correctedValue;

    /** 应用公式 */
    @Excel(name = "应用公式")
    private String formula;

    /** 采集项ID */
    @Excel(name = "采集项ID")
    private Long collectItemId;

    /** 采集时间 */
    @Excel(name = "采集时间")
    private Long createTime;

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public void setCardId(String cardId)
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }
    public void setChannelNo(Long channelNo) 
    {
        this.channelNo = channelNo;
    }

    public Long getChannelNo() 
    {
        return channelNo;
    }
    public void setActualValue(Double actualValue)
    {
        this.actualValue = actualValue;
    }

    public Double getActualValue()
    {
        return actualValue;
    }
    public void setCorrectedValue(Double correctedValue)
    {
        this.correctedValue = correctedValue;
    }

    public Double getCorrectedValue()
    {
        return correctedValue;
    }
    public void setFormula(String formula) 
    {
        this.formula = formula;
    }

    public String getFormula() 
    {
        return formula;
    }
    public void setCollectItemId(Long collectItemId) 
    {
        this.collectItemId = collectItemId;
    }

    public Long getCollectItemId() 
    {
        return collectItemId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cardId", getCardId())
            .append("channelNo", getChannelNo())
            .append("actualValue", getActualValue())
            .append("correctedValue", getCorrectedValue())
            .append("formula", getFormula())
            .append("createTime", getCreateTime())
            .append("collectItemId", getCollectItemId())
            .toString();
    }
}
